<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <p></p>
<script>
    let p = document.querySelector('P');
    let name = '小明';
    let age = '18';
    let school = '初中';
    // p.innerHTML = '今年<strong>' + name + '</strong>就要<strong>' + age + '</strong>岁了，终于升入<strong>' + school + '</strong>了';
    p.innerHTML = `今年<strong>${name}</strong>就要<strong>${age}</strong>岁了，终于升入<strong>${school}</strong>了`;
</script>
</body>
</html>
